40550d1f829c28a1a157c7d70b469804999ab026,candy/src/processing/candy/BaseObject.java,BaseObject,BaseObject,#BaseObject#XMLElement#,24
Before Change
String transformStr = properties.getStringAttribute("transform");
if (transformStr != null) {
float[] t = parseMatrix(transformStr);
//matrix = new PMatrix2D(t[0], t[2], t[4], t[1], t[3], t[5]);
matrix = new PMatrix3D(t[0], t[2], 0, t[4],
t[1], t[3], 0, t[5],
0, 0, 1, 0,
0, 0, 0, 1);
}
parseColors(properties);
After Change
String transformStr = properties.getStringAttribute("transform");
if (transformStr != null) {
matrix = parseMatrix(transformStr);
}
parseColors(properties);